package com.cn.reportforms.dao;

import com.cn.reportforms.entity.ExportSetting;
import com.cn.reportforms.entity.ExportSettingQuery;
import com.cn.reportforms.entity.ExportSettingWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExportSettingMapper {
	int countByExample(ExportSettingQuery example);

    int deleteByExample(ExportSettingQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(ExportSetting record);

    int insertSelective(ExportSetting record);

    List<ExportSettingWithBLOBs> selectByExampleWithBLOBs(ExportSettingQuery example);

    List<ExportSetting> selectByExample(ExportSettingQuery example);

    ExportSettingWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ExportSetting record, @Param("example") ExportSettingQuery example);

    int updateByExampleWithBLOBs(@Param("record") ExportSetting record, @Param("example") ExportSettingQuery example);

    int updateByExample(@Param("record") ExportSetting record, @Param("example") ExportSettingQuery example);

    int updateByPrimaryKeySelective(ExportSetting record);

    int updateByPrimaryKeyWithBLOBs(ExportSetting record);

    List<Map<String,Object>> selectBySqlStr(@Param("sqlStr") String sqlStr);

}
